﻿#navigation > ul {
    width:550px;
    margin:0 auto;
}


#navigation > ul > li {
    list-style:none;
    box-shadow:0 0 10px rgba(100,100,100,0.2),inset,1px 1px 1px #CCC;
    display: inline-block;
    line-height:1;
    margin:1px;
    border-radius:3px;
    position:relative;
}

#navigation > ul > li > a {
    color:inherit;
    text-decoration:none !important;
    font-size:24px;
    padding:25px;
    display:inline-block;
}

#navigation li ul {
    position:absolute;
    list-style:none;
    text-align:center;
    width:180px;
    left:20%;
    margin-left:-90px;
    top:70px;
    font: bold 12px 'Open Sans Condensed',sans-cerif;
    
    max-height:0px;
    overflow:hidden;
    
    -webkit-transition:max-height 0.4s linear;
    -moz-transition:max-height 0.4s linear;
    transition:max-height 0.4s linear;
       
}

#navigation li:hover ul {
    max-height:200px;
}

#navigation li ul li {
    background-color:#313131;
}

#navigation li ul li a {
    padding:12px;
    color:#fff !important;
    text-decoration:none !important;
    display:block;
}

#navigation li ul li:nth-child(2) {
    background-color:#363636;
}

#navigation li ul li:hover {
    background-color:#444;
}

#navigation li ul li:first-child {
    border-radius:3px 3px 0 0;
    margin-top:25px;
    position:relative;
}

#navigation li ul li:last-child {
    border-radius:0 0 3px 3px;
}

#navigation li ul li:first-child:before {
    content:'';
    position:absolute;
    width:1px;
    height:1px;
    border:5px solid transparent;
    border-bottom-color:#313131;
    left:50%;
    top:-10px;
    margin-left:-5px;
}
#navigation li.green {
    background-color:#00c08b;
    color:#127a5d;
}

#navigation li.blue{      background-color:#53bfe2;color:#2884a2;}
